home *** CD-ROM | disk | FTP | other *** search
- Path: dispatch.news.demon.net!demon!summat.demon.co.uk
- From: mike@summat.demon.co.uk (Mike Dodd)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Size of screen in millimeters?
- Date: Mon, 26 Feb 1996 20:00:26 GMT
- Message-ID: <783.6630T1104T2697@summat.demon.co.uk>
- References: <d93-hyo.824566467@nada.kth.se> <cav6y*gXf@yaps.rhein.de>
- NNTP-Posting-Host: summat.demon.co.uk
- X-NNTP-Posting-Host: summat.demon.co.uk
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- Mike staggered back from the pub and slurred to Arno Eigenwillig:
-
-
- AE> In article <d93-hyo.824566467@nada.kth.se>, Hσkan Younes writes:
-
- >> Is it possible to get the size of a screen in millimeters
- >> by examining some system structures?
-
- AE> No, you have to ask the user.
-
- Exactly.
-
- At the moment I'm writing a piece of code that will, by default set the monitor
- resolution to 80 ╫ 72 DPI (that's what my monitor is), but will allow the user
- to modify these to whatever (sensible) figures he chooses. As a side-effect
- of this, once you get your software to handle physical sizing attributes it
- becomes very easy to add scaling/zooming functions, and dumping a rastport to a
- printer is very easy : just re-draw in a temporary rastport with the X,Y DPI for
- the printer.
-
- ---
- Mike
-
-